package com.xhsj.user.hr.system.query;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.xhsj.user.hr.base.BaseParam;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @Description FindDimissionListQuery
 * @Author suxiaolin
 * @Date 2020/9/15 17:20
 */
@Data
public class FindDimissionListQuery extends BaseParam {

    // 离职时间 leaveDate
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date startLeaveDate;

    // 离职时间
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date endLeaveDate;

}
